import {NgModule} from '@angular/core';
import { CommonModule } from '@angular/common';
import {FormsModule} from '@angular/forms';
import { NzMessageModule } from 'ng-zorro-antd/message';
import { NzModalModule } from 'ng-zorro-antd/modal';
import { NzBreadCrumbModule } from 'ng-zorro-antd/breadcrumb';
import { NzTableModule } from 'ng-zorro-antd/table';
import { NzToolTipModule } from 'ng-zorro-antd/tooltip';
import { NzSelectModule } from 'ng-zorro-antd/select';
import { NzButtonModule } from 'ng-zorro-antd/button';
import { NzInputModule } from 'ng-zorro-antd/input';
import { NzRadioModule } from 'ng-zorro-antd/radio';
import { NzFormModule } from 'ng-zorro-antd/form';
import { NzIconModule } from 'ng-zorro-antd/icon';
import { NzDrawerModule } from 'ng-zorro-antd/drawer';
import { NzDatePickerModule } from 'ng-zorro-antd/date-picker';
import { NzUploadModule } from 'ng-zorro-antd/upload';
import { NzEmptyModule } from 'ng-zorro-antd/empty';
import {ElementEditor} from "./components/element-editor/element-editor.component";
import { PictureUploadComponent } from './components/picture-upload/picture-upload.component';



@NgModule({
    imports: [
        CommonModule,
        FormsModule,
        NzMessageModule,
        NzModalModule,
        NzBreadCrumbModule,
        NzTableModule,
        NzToolTipModule,
        NzSelectModule,
        NzButtonModule,
        NzInputModule,
        NzDatePickerModule,
        NzRadioModule,
        NzFormModule,
        NzIconModule,
        NzUploadModule,
        NzEmptyModule,
        NzDrawerModule
    ],
    declarations: [ElementEditor, PictureUploadComponent],
    exports: [ElementEditor, PictureUploadComponent]
})
export class SharedModule {
}
